package com.theo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author 方涛
 * @since 2021-02-02
 */
@Component
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FactInfo对象", description="")
public class FactInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "防控知识编号")
    @TableId(value = "fact_id", type = IdType.AUTO)
    private Integer factId;

    @ApiModelProperty(value = "防控知识类型")
    private String typeName;

    @ApiModelProperty(value = "防控知识标题")
    private String factTitle;

    @ApiModelProperty(value = "防控知识内容")
    private String factContent;

    @ApiModelProperty(value = "发布时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "发布机构")
    private String source;



}
